#include"FPS.h"

/////////////////
//include
/////////////////

#include<stdio.h>
/////////////////
//prottype
/////////////////

/////////////////
//const
/////////////////


FPS::FPS()
{
	fps = 0;
	count = 0;
	pre_time = 0;
}
FPS::~FPS()
{
}
void FPS::Draw()
{
	time_t tmp_time = clock();
	printf("%ffps\n",1/(((double)(tmp_time - pre_time))/CLOCKS_PER_SEC));
	pre_time = tmp_time;

}
